chore(ci): reuse cargo commands via composite actions#158
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
|
|
||
| - name: Security audit | ||
| uses: ./.github/actions/cargo-audit | ||
|
|
||
| - name: Auto-commit README changes (any branch) | ||
| if: always() | ||
| run: | | ||
| set -euo pipefail |
There was a problem hiding this comment.
[P0] Fix indentation on Auto-commit README step
The new workflow block after the composite actions has - name: Auto-commit README changes (any branch) followed by if: and run: at the same indentation level. In YAML the keys that belong to the step must be indented deeper than the dash; as written, if and run are parsed outside of the step and the workflow fails to load (unexpected key while parsing steps). The pre-existing version used correct indentation. Re‑indent if: and run: (and their bodies) so they are children of the list item.
Useful? React with 👍 / 👎.
Summary
Testing
https://chatgpt.com/codex/tasks/task_e_68db4d438b4c832bbefcb655b9e7ec3d